<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
</head>
<body>
        <script>
            $(function () {
                var  roleList =[
                    {roleName:'l',note:"1"},
                    {roleName:'x',note:"2"},
                    {roleName:'q',note:"3"}
                ];

                $.post({
                    url:'rlist.do',
                    contentType:'application/json',
                    data:JSON.stringify(roleList),
                    success:function (result) {
                        console.log(result);
                    }
                });
            })
        </script>
</body>
</html>